import request from '@/utils/request'

// 查询其他费用列表
export function listOrderotherpay(query) {
  return request({
    url: '/service/orderotherpay/list',
    method: 'get',
    params: query
  })
}

// 查询其他费用详细
export function getOrderotherpay(orderotherpayId) {
  return request({
    url: '/service/orderotherpay/' + orderotherpayId,
    method: 'get'
  })
}

// 新增其他费用
export function addOrderotherpay(data) {
  return request({
    url: '/service/orderotherpay',
    method: 'post',
    data: data
  })
}

// 修改其他费用
export function updateOrderotherpay(data) {
  return request({
    url: '/service/orderotherpay',
    method: 'put',
    data: data
  })
}

// 删除其他费用
export function delOrderotherpay(orderotherpayId) {
  return request({
    url: '/service/orderotherpay/' + orderotherpayId,
    method: 'delete'
  })
}
